<template>
  <div><h1>班级管理xxx</h1>
    <txtObj title="姓名" v-model="name"></txtObj> {{name}}
    <hr>
    <selectObj title="请选择学生" :array="studentArray" info="stuId:stuName"
     v-model="studentId"></selectObj>
    {{studentId}}
  </div>
</template>

<script>
export default {
    data(){
      return {
         name:"aaa",
         studentId:5,
         studentArray:[{stuId:1,stuName:"张三"},{stuId:5,stuName:"刘军"},{stuId:3,stuName:"阮小二"}]
      }
    }

}
</script>

<style>

</style>